package com.springboot.fram.core.digest;

/**
 * @author madman
 */
public class SHA512 extends SimpleDigest {

  private SHA512(String algorithmName) {
    super(algorithmName);
  }

  public static SHA512 getInstance() {
    return new SHA512("SHA-512");
  }


  public static void main(String[] args) {
    System.out.println(SHA512.getInstance().encode("ddd").toHex());
  }

}
